set GOOS=linux
set GOARCH=amd64
set CGO_ENABLED=0

set ip=10.2.106.51
set name=liuysh_update_pwd

go build -o %name%

scp -P 65434 %name% root@%ip%:/root/liuysh/bin/
ssh -p 65434 root@%ip% "chmod 775 /root/liuysh/bin/%name%; /root/liuysh/bin/%name% -stop -dir /root/liuysh; cp -f /root/liuysh/bin/%name% /root/liuysh/; nohup /root/liuysh/%name% -dir /root/liuysh > /root/liuysh/run.log 2>&1 &"
::Sugon@123